#!/bin/sh
# MOCK=1 don't run perf
# WRAP=... python wrapper

set -e

CPULIST="${CPULIST:-jkt ivt hsx bdxde bdx skx icx}"

for cpu in $CPULIST ; do

export FORCECPU=$cpu
echo $cpu

EXTRA=""
[ -z "$MOCK" ] && EXTRA=CHECK-*

for i in $EXTRA SANITY-ALL MOCK-ALL ; do
	echo $i 
	./$i
	echo STATUS $?
done

./uctester


done
